// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//reset.css
import '../src/assets/style/reset.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
// import "swiper/swiper-bundle.css"
import 'swiper/css/swiper.css'
import axios from 'axios'
import BaiduMap from 'vue-baidu-map'


Vue.prototype.$ajax=axios 
Vue.use(VueAwesomeSwiper)
Vue.use(ElementUI)
Vue.use(BaiduMap, {
  // ak 是在百度地图开发者平台申请的密钥 详见 http://lbsyun.baidu.com/apiconsole/key */
  ak: 'zyW9Wl6FN5GIc4KHelCI8BXFh4b9MMPZ'
})
// Vue.use(Swiper);

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
